#ifndef _PARTHUS_TRA_COMBINED_H_
#define _PARTHUS_TRA_COMBINED_H_

/*****************************************************************************
 * MODULE NAME:    tra_combined.h
 * PROJECT CODE:   Bluetooth
 * DESCRIPTION:    Generic UART sub-layer (HCI transport)_
 * MAINTAINER:     John Sheehy
 * CREATION DATE:  27 February 2001
 *
 * SOURCE CONTROL: $Id: tra_combined.h,v 1.2 2008/11/08 07:30:05 tianwq Exp $
 *
 * LICENSE:
 *     This source code is copyright (c) 2000-2004 Ceva Inc.
 *     All rights reserved.
 *
 * SOURCE:         
 *
 *****************************************************************************/
#include "sys_config.h"
#include "sys_types.h"

#include "tra_hcit.h"
#include "bt_types.h"
//#include "host_buf.h"
#include "tra_queue.h"
#include "l2_types.h"

typedef void (*t_bt_link_sniff_timeout)(void *arg);


void TRAhcit_COMBINED_Initialise(void);
void TRAhcit_COMBINED_Shutdown(void);

void TRAhcit_COMBINED_Dispatch_Data(t_q_descr *qd);
//void TRAhcit_COMBINED_Dispatch_Event(u_int8 event_code,t_lm_event_info* p_event_info);
//t_api rdabt_hci_GetWriteBuffer(u_int16 handle, u_int16 length, u_int32 flags, rdabt_host_buf_t **p_buf);
t_api rdabt_hci_HaveBuff(u_int16 handle, u_int16 len, u_int8 isAlloc);
typedef struct st_rdabt_host_buf_t rdabt_host_buf_t;
t_api rdabt_hci_FreeWriteBuffer(rdabt_host_buf_t *p_buf);
t_api rdabt_hci_GetWriteBuffer(u_int16 handle, u_int16 length, u_int32 flags, rdabt_host_buf_t **p_buf);
t_api rdabt_mgr_releaseAllACL(u_int8 reason);
t_api rdabt_mgr_releaseACL(u_int16 handle, u_int8 reason);
t_api rdabt_mgr_createACL(t_bdaddr bdaddr, rdabt_t_l2_acl_link *l2cap_link);
t_api rdabt_set_sniff_interval(u_int16 handle, u_int16 min, u_int16 max, u_int16 adjust_interval);
void rdabt_link_sniff_timeout(void *arg);

#endif /* _PARTHUS_TRA_COMBINED_H_ */

